import request from '@/utils/request'

// 查询岗位需求审核列表
export function listRequireapprove(query) {
  return request({
    url: '/bus/requireapprove/list',
    method: 'get',
    params: query
  })
}

// 查询岗位需求审核详细
export function getRequireapprove(approveId) {
  return request({
    url: '/bus/requireapprove/' + approveId,
    method: 'get'
  })
}

// 新增岗位需求审核
export function addRequireapprove(data) {
  return request({
    url: '/bus/requireapprove',
    method: 'post',
    data: data
  })
}

// 修改岗位需求审核
export function updateRequireapprove(data) {
  return request({
    url: '/bus/requireapprove',
    method: 'put',
    data: data
  })
}

// 删除岗位需求审核
export function delRequireapprove(approveId) {
  return request({
    url: '/bus/requireapprove/' + approveId,
    method: 'delete'
  })
}
